package com.info.zhiduoduo.admin.model.formbean.partner;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class AddEditSubPartnerFormBean {

	@ApiModelProperty("主键，等于0新增，大于0编辑")
	private int id;
	@ApiModelProperty("一级合伙人id")
	private int partnerid;
	@ApiModelProperty("二级合伙人id")
	private int subPartnerid;
	@ApiModelProperty("分佣比例")
	private BigDecimal rate;
	@ApiModelProperty("1:正常 2:失效")
	private Integer state;
}
